{# Twig
// This file should be in UTF8 without BOM - Accents examples: éèê
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr  |
// +----------------------------------------------------------------------+
// | This file is part of PEEL Shopping 7.2.1, which is subject to an	  |
// | opensource GPL license: you are allowed to customize the code		  |
// | for your own needs, but must keep your changes under GPL			  |
// | More information: https://www.peel.fr/lire/licence-gpl-70.html		  |
// +----------------------------------------------------------------------+
// | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/	  |
// +----------------------------------------------------------------------+
// $Id: admin_email-templates_output.tpl 44077 2015-02-17 10:20:38Z sdelaporte $
#}{{ action_html }}
<h2 style="margin-left:30px; color:#009900;"><a href="{{ href|escape('html') }}">{{ STR_ADMIN_EMAIL_TEMPLATES_INSERT_TEMPLATE }}{{ STR_BEFORE_TWO_POINTS }}: {{ STR_CLICK_HERE }}</a></h2>
<br />
<div class="alert alert-info">{{ STR_ADMIN_EMAIL_TEMPLATES_WARNING }}</div>
<h2 style="margin-left:30px;">{{ STR_ADMIN_EMAIL_TEMPLATES_UPDATE_TEMPLATE }} {{ STR_NUMBER }}{{ id }}</h2><br />
<form class="entryform form-inline" role="form" action="{{ action|escape('html') }}" method="post" name="form_modif">
	<div class="row">
		{{ form_token }}
		<div class="col-md-6">
					<table class="full_width" cellspacing="3">
						<tr>
							<td style="width:100px">{{ STR_CATEGORY }}{{ STR_BEFORE_TWO_POINTS }}:</td>
							<td>{{ categories_list }}</td>
						</tr>
						<tr>
							<td>{{ STR_ADMIN_WEBSITE}}{{ STR_BEFORE_TWO_POINTS }}: </td>
							<td>
								<select class="form-control" name="site_id" style="width:90%">
									{{ site_id_select_options}}
								</select>
							</td>
						</tr>
						<tr>
							<td>{{ STR_SIGNATURE }}{{ STR_BEFORE_TWO_POINTS }}:</td>
							<td>
								<select class="form-control" name="default_signature_code" style="width:90%">
									{{ signature_template_options }}
								</select>
							</td>
						</tr>
						<tr>
							<td>{{ STR_ADMIN_TECHNICAL_CODE }}</td>
							<td><input name="form_technical_code" style="width:90%" type="text" class="form-control" id="technical_code" value="{{ technical_code|str_form_value }}" /></td>
						</tr>
						<tr>
							<td>{{ STR_ADMIN_EMAIL_TEMPLATES_TEMPLATE_NAME }}</td>
							<td><input name="form_name" style="width:90%" type="text" class="form-control" id="template_name" value="{{ name|str_form_value }}" /></td>
						</tr>
						<tr>
							<td>{{ STR_ADMIN_SUBJECT }}</td>
							<td><input name="form_subject" style="width:90%" type="text" class="form-control" id="template_subject" value="{{ subject|str_form_value }}" /></td>
						</tr>
						<tr>
							<td>{{ STR_TEXT }}</td>
							<td><textarea class="form-control" name="form_text" id="template_text" style="width:90%; height:300px;">{{ text }}</textarea></td>
						</tr>
						<tr>
							<td>{{ STR_ADMIN_LANGUAGE }}</td>
							<td>
							{% for l in langs %}
								<input type="radio" name="form_lang" id="template_lang" value="{{ l.lng|str_form_value }}"{% if l.issel %} checked="checked"{% endif %} /> {{ l.lng }}
							{% endfor %}
							</td>
						</tr>
						<tr>
							<td colspan="2"><br /><center><input name="form_submit_update" type="submit" value="{{ STR_ADMIN_EMAIL_TEMPLATES_UPDATE_TEMPLATE|str_form_value }}" class="btn btn-primary" /></center></td>
						</tr>
					</table>
		</div>
		<div class="col-md-6">{{ emailLinksExplanations }}</div>
	</div>
</form>